package com.easygo.service.impl;

import com.easygo.mapper.GoodsMapper;
import com.easygo.service.IGoodsService;
import com.xuexi.easygo.pojo.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements IGoodsService{

    @Autowired
    GoodsMapper goodsMapper;

    @Override
    public List<Goods> getGoods(Integer is_marketable) {
        return goodsMapper.getGoods(is_marketable);
    }
}
